package com.accp.pojo;

public class Goods {
    private Integer goodsid;

    private String goodsname;

    private Double goodsprice;

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname == null ? null : goodsname.trim();
    }

    public Double getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(Double goodsprice) {
        this.goodsprice = goodsprice;
    }

	public Goods(Integer goodsid, String goodsname, Double goodsprice) {
		super();
		this.goodsid = goodsid;
		this.goodsname = goodsname;
		this.goodsprice = goodsprice;
	}

	public Goods() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Goods(String goodsname, Double goodsprice) {
		super();
		this.goodsname = goodsname;
		this.goodsprice = goodsprice;
	}
    
    
}